WSAL\WP_Sensors\WooCommerce_Sensor D

Total Complexity 1,134
Dependencies 15
Dependents 0
Total lines 6,106
Lines of code 4,176
Logical lines of code 1,826
Comment lines 1,400
Methods 107
Properties 23

Methods 107

Method Rating Maintainability Complexity Lines of code
settings_updated()
D
0
186 638
check_attributes_change()
D
21
61 189
check_settings_change()
D
23
57 153
wc_user_meta_updated()
D
30 33 109
check_type_change()
D
37 33 62
log_coupon_meta_update_events()
C
37 29 59
event_changed()
C
37 27 75
check_variations_change()
C
35 27 74
check_image_change()
C
40 28 48
check_downloadable_file_change()
C
33 23 103
event_product_cat_updated()
C
34 22 97
check_dimensions_change()
B
43 25 40
event_order_items_added()
B
35 14 96
must_not_contain_refund_or_modification()
B
48 18 36
check_wc_ajax_change_events()
B
40 16 55
check_download_limit_change()
B
42 16 51
check_product_changes_after_save()
A
45 16 39
event_order_items_quantity_changed()
A
39 13 67
get_editor_link()
A
40 13 66
check_visibility_change()
A
42 13 54
viewing_product()
A
47 14 31
event_attribute_updated()
A
50 13 26
check_upsells_change()
A
43 11 50
check_cross_sell_change()
A
43 11 50
event_untrashed()
A
41 10 59
event_trashed()
A
41 10 58
editing_product()
A
47 11 32
get_currency_symbol()
A
27
2 167
check_stock_quantity_change()
A
47 11 32
event_order_items_removed()
A
38 7 84
event_deleted()
A
46 10 39
check_product_changes_before_save()
A
47 10 31
order_opened_in_editor()
A
48 10 31
early_init()
A
32 3 129
check_order_modify_change()
A
51 10 23
retrieve_attribute_data()
A
60 11 10
check_weight_change()
A
50 9 25
check_categories_change()
A
51 9 24
check_status_change()
A
48 8 32
check_modify_change()
A
48 8 30
check_price_change()
A
57 9 14
check_tax_status_change()
A
46 7 39
check_stock_status_change()
A
52 8 23
check_sku_change()
A
52 8 23
check_catalog_visibility_change()
A
52 8 22
event_attribute_deleted()
A
55 8 17
get_before_post_edit_data()
A
54 8 17
get_product_sku()
A
56 8 16
log_coupon_meta_created_event()
S
57 8 14
event_order_refunded()
S
44 6 43
event_creation()
S
46 6 42
order_recursive_array_diff()
S
53 7 24
order_opened_for_editing()
S
57 7 16
check_title_change()
S
49 6 29
log_coupon_meta_delete_event()
S
57 7 14
check_backorders_setting()
S
51 6 25
check_date_change()
S
46 5 40
order_updated()
S
52 6 24
event_price()
S
52 6 22
get_product_data()
S
47 5 35
get_string_attribute_value()
S
56 6 17
check_short_description_change()
S
50 5 30
detect_stock_level_change()
S
52 5 23
check_permalink_change()
S
54 5 20
check_featured_product()
S
54 5 20
check_low_stock_threshold_change()
S
54 5 19
get_attribute_event_data()
S
62 6 10
orders_actions()
S
62 6 10
data_store()
S
51 4 27
check_product_type_change()
S
53 4 21
order_note_added()
S
53 4 21
inline_product_changed()
S
58 4 15
must_not_edit_or_order()
S
63 4 12
event_bulk_order_actions()
S
55 3 20
event_cat_display_updated()
S
55 3 20
check_text_change()
S
55 3 20
event_dimension()
S
54 3 19
get_stock_status_name()
S
65 4 9
event_order_refund_removed()
S
50 2 28
get_coupon_event_data()
S
60 3 13
order_note_deleted()
S
56 2 17
must_not_be_new_coupon()
S
67 3 9
get_wc_product_attributes()
S
63 3 10
do_not_detect_variation_changes_as_product_modified()
S
70 3 6
is_frontend_sensor()
S
66 3 8
get_config()
S
68 3 7
event_attribute_added()
S
72 3 5
event_category_creation()
S
61 2 13
event_tag_creation()
S
61 2 13
event_product_cat_deleted()
S
62 2 12
event_product_tag_deleted()
S
62 2 12
detect_shipping_zone_change()
S
63 2 11
must_not_contain_refund()
S
71 2 6
must_not_repeat_shipping()
S
69 2 7
must_not_repeat_billing()
S
69 2 7
before_wc_user_meta_update()
S
64 2 9
check_inline_edit()
S
70 2 6
must_not_be_fresh_post()
S
71 2 6
check_woo_commerce()
S
68 2 8
ignore_if_new_order()
S
71 2 6
webhook_added()
S
60 1 14
event_order_status_changed()
S
60 1 12
webhook_deleted()
S
62 1 12
event_admin_init()
S
75 1 5
get_product_categories()
S
78 1 3
get_attribute_key()
S
78 1 3
init()
S
89 1 2